package com.visionet.waveletData.web.vo;

import java.util.ArrayList;
import java.util.List;

import org.apache.poi.ss.formula.functions.T;

public class PageVo<T> {
	private int totalPage;//总页数
	private int currentPage;//当前页数
	private long totalNumber;//总条数
	private List<T>content=new ArrayList<T>();//查询结果内容
	public PageVo(){
		
	}
	public PageVo(int totalPage, int currentPage, long totalNumber,
			List<T> content) {
		super();
		this.totalPage = totalPage;
		this.currentPage = currentPage;
		this.totalNumber = totalNumber;
		this.content = content;
	}
	public int getTotalPage() {
		return totalPage;
	}
	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}
	public int getCurrentPage() {
		return currentPage;
	}
	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}
	public long getTotalNumber() {
		return totalNumber;
	}
	public void setTotalNumber(long totalNumber) {
		this.totalNumber = totalNumber;
	}
	public List<T> getContent() {
		return content;
	}
	public void setContent(List<T> content) {
		this.content = content;
	}
	
}
